package com.zoe.vhr.service.impl;

import com.zoe.vhr.mapper.SalaryMapper;
import com.zoe.vhr.model.Salary;
import com.zoe.vhr.service.SalaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author Zoe.Zhang
 * @Date: 2021/08/15
 * @Description
 */
@Service
public class SalaryServiceImpl implements SalaryService {
    @Autowired
    private SalaryMapper salaryMapper;

    @Override
    public List<Salary> listAllSalaries() {
        return salaryMapper.listAllSalaries();
    }
}
